package com.niit.service;

import com.niit.entity.Student;

import java.util.List;

public interface StudentServie {
    List<Student> list();

    List<Student> search(String key, String value);

    void save(Student student);

    void update(Student student);

    void delete(Student student);

    List<Student> findByDormitoryId(Integer dormitoryId);
}
